import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
// import store from './store'
// 引入pinia
import { createPinia } from 'pinia'
const store = createPinia()
// import GLOB from '@/components/EX-global.vue'

// 全局組件需要在component里面注册，它必须跟在createApp后面
// createApp(App).component('Glob',GLOB).use(store).use(router).mount('#app')

createApp(App).use(ElementPlus).use(store).use(router).mount('#app')
